package com.sw.c.pojo.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "user")
public class UserMongoDB {

    @Id
    private String id;
    private String name;
    private String type;
    private int age;
    private String sex;

}
